package cn.iocoder.yudao.module.biz.convert.dangerTicket;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.biz.controller.admin.dangerTicket.vo.*;
import cn.iocoder.yudao.module.biz.dal.dataobject.dangerTicket.BizDangerTicketDO;

/**
 * 危险作业票 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface BizDangerTicketConvert {

    BizDangerTicketConvert INSTANCE = Mappers.getMapper(BizDangerTicketConvert.class);

    BizDangerTicketDO convert(BizDangerTicketCreateReqVO bean);

    BizDangerTicketDO convert(BizDangerTicketUpdateReqVO bean);

    BizDangerTicketRespVO convert(BizDangerTicketDO bean);

    List<BizDangerTicketRespVO> convertList(List<BizDangerTicketDO> list);

    PageResult<BizDangerTicketRespVO> convertPage(PageResult<BizDangerTicketDO> page);

    List<BizDangerTicketExcelVO> convertList02(List<BizDangerTicketDO> list);

}
